home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1997 / MacHack 1997.toast / Hacks / Hacks ’97 / Warrior’s Progress / source code / Source / Libraries / Menus / High Level / FixedMenuSection.h < prev    next >
Encoding:
Text File  |  1997-06-28  |  386 b   |  24 lines  |  [TEXT/CWIE]

  1. // FixedMenuSection.h
  2.  
  3. #ifndef FixedMenuSection_h
  4. #define FixedMenuSection_h
  5.  
  6. #ifndef MenuSection_h
  7. #include "MenuSection.h"
  8. #endif
  9.  
  10. class FixedMenuSection: public MenuSection
  11.   {
  12.     public:
  13.         FixedMenuSection( Menu&, uint16 length );
  14.     
  15.         uint16 Length() const                            { return maxLength; }
  16.         
  17.         MenuItem operator[]( uint16 index );
  18.         
  19.         void EnableAll();
  20.         void DisableAll();
  21.   };
  22.  
  23. #endif
  24.